package uk.org.aspellclark.gedcom.model.structures;

import uk.org.aspellclark.gedcom.model.EventDetail;

/**<pre>FAMILY_EVENT_STRUCTURE:=
[
    n [ ANUL | CENS | DIV | DIVF ] {1:1}
        +1 &lt;&lt;FAMILY_EVENT_DETAIL>> {0:1}
|
    n [ ENGA | MARB | MARC ]            {1:1}
        +1 &lt;&lt;FAMILY_EVENT_DETAIL>>      {0:1}
|
    n MARR [Y|&lt;NULL>]                   {1:1}
        +1 &lt;&lt;FAMILY_EVENT_DETAIL>>      {0:1}
|
    n [ MARL | MARS ]                   {1:1}
        +1 &lt;&lt;FAMILY_EVENT_DETAIL>>      {0:1}
|
    n RESI
        +1 &lt;&lt;FAMILY_EVENT_DETAIL>>      {0:1}
|
    n EVEN [&lt;EVENT_DESCRIPTOR> | &lt;NULL>] {1:1}
        +1 &lt;&lt;FAMILY_EVENT_DETAIL>>       {0:1}
]</pre>
 */
public class FamilyEventStructure extends GedcomStructure {

	/**
	 * <pre>FAMILY_EVENT_DETAIL:=
	n HUSB                    {0:1}
	   +1 AGE &lt;AGE_AT_EVENT>  {1:1}
	n WIFE                    {0:1}
	    +1 AGE &lt;AGE_AT_EVENT> {1:1}
	n &lt;&lt;EVENT_DETAIL>>        {0:1}</pre>
	 *
	 * @author andy
	 */
	public class FamilyEventDetail {
		public EventDetail eventDetail=new EventDetail();
		public String husbAge;
		public String wifeAge;
	}
	
	public String type;
	public FamilyEventDetail detail = new FamilyEventDetail();
}
